﻿namespace Core.Ndatax.Domain.Ris.UpdateRegisterDto
{

    public class UpdateRegisterDto
    {
        public Sheetidlist[] sheetIDList { get; set; }
        public string operatorID { get; set; } = "res";
        public string operatorName { get; set; } = "res";
        public string operationStationIP { get; set; } = "";
        public string requestTime { get; set; } = DateTime.Now.ToString("yyyyMMddHHmmssfff");
        public Code Code { get; set; } = new();
    }

    public class Code
    {
        public string ControlName { get; set; } = "";
        public string ActionName { get; set; } = "";
        public string msgId { get; set; } = "self" + DateTime.Now.ToString("yyyyMMddHHmmssfff");
        public string sender { get; set; } = "2.16.840.1.113883.4.487.2.1.5";
        public string receiver { get; set; } = "2.16.840.1.113883.4.487.2.1.3";
    }

    public class Sheetidlist
    {
        public string sheetID { get; set; }
        public int appointmentState { get; set; } = 1;
        public string appointmentID { get; set; }
        public string appointmentDate { get; set; }
        public string appointmentTime { get; set; }
        public string resourceID { get; set; }
        public string appointmentAddr { get; set; }
        public string appointmentType { get; set; }
    }

}
